package com.itqf.mapper;

import com.itqf.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * projectName: rbac2103
 *
 * @author: 赵伟风
 * time: 2021/7/8 11:52
 * description:
 */
public interface UserMapper {

    User query(User user);

    User queryByAccount(@Param("account") String account);

    List<String> queryRoles(int uid);

    List<String> queryPermissions(int uid);
}
